package deployr.core;

import static java.text.MessageFormat.*;
import deployr.domain.*;

public class MapText {

	private StringBuilder text = new StringBuilder();

	public MapText(ObjectMap map) {
		for (String key : map.keySet()) {
			text.append(format("{0}:{1}\n", key, map.get(key)));
		}
	}
	
	@Override
	public String toString() {
		return text.toString();
	}

}
